// Sender.h: interface for the Sender class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_SENDER_H__6602C8B8_B013_4B68_A244_58E50474369A__INCLUDED_)
#define AFX_SENDER_H__6602C8B8_B013_4B68_A244_58E50474369A__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "..\common\thread.h"

#include "..\common\Sockets\CNodeClient.h"
#include "..\common\EnumMovimiento.h"
#include "..\common\SDL\include\SDL.h"

class Sender  : public thread
{

private:

	CNodeClient socketCliente;
	void mandarEventoTeclado(EnumMovimiento movimiento);

public:
	Sender(CNodeClient& socketCliente);
	virtual ~Sender();
	void run();

};

#endif // !defined(AFX_SENDER_H__6602C8B8_B013_4B68_A244_58E50474369A__INCLUDED_)
